//
//  UIWindow+Extension.h
//  CoachAssistant
//
//  Created by XCY–hqF on 16/5/18.
//  Copyright © 2016年 XCY. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIWindow (Extension)

/**
 * 当token是空时时RootViewContoller是LoginViewController
 * 当token是非空时RootViewContoller是XCYTabBarController(token需要自己清空)
 */
+ (void)switchRootVCToAppDelegateWin;

//切换控制器
- (void)switchRootViewController;

///切换主控制器
+ (void)appSwitchRootViewControllerWithVC:(UIViewController *)vc;

@end
